package com.roc.template.mongo.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName UserVo
 * @Description: TODO
 * @Author Administrator
 * @Date 2020/7/16 11 09
 * @Version V1.0
 **/
@Data
public class UserVo {

    private Integer pageNum = 1;

    private Integer pageSize = 10;

    private String name;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
